import React, { Component } from 'react';
import { createRoot } from 'react-dom/client'; // 注意路径变化
import App from './App';
const container = document.getElementById('app');
const root = createRoot(container);
root.render(<App/>)
